package communication;

import java.io.Serializable;

import logic.Board;

public class GameRequest implements Serializable {

	/**
	 * 
	 */
	
	private static final long serialVersionUID = 4056797008747619761L;
	
	public static final int REQ_CONFIG = 301;
	public static final int REQ_QUIT = 302;
	public static final int REQ_PLAY = 303;
	public static final int REQ_MSG = 304;


	private String msg="";
	private int type;
	private int line;
	private int column;
	Board board;
	
	
	public GameRequest(int type) {
		this.type = type;
	}
	

	public int getType() {
		return type;
	}


	public void setType(int type) {
		this.type = type;
	}


	public String getMsg() {
		return msg;
	}


	public void setMsg(String msg) {
		this.msg = msg;
	}


	public int getLine() {
		return line;
	}


	public void setLine(int line) {
		this.line = line;
	}


	public int getColumn() {
		return column;
	}


	public void setColumn(int column) {
		this.column = column;
	}


	public Board getBoard() {
		return board;
	}


	public void setBoard(Board board) {
		this.board = board;
	}
	
	
	
	
	
	
}
